@import '~antd/lib/style/themes/default.less';
.scroll_main {
  display: table;
  /*
  * 适合左右菜单，内容自适应满屏 超出部分进行滚动
  */
  & > .scroll_left {
    display: table-cell;
    min-width: 250px;
    vertical-align: top;
    :global {
      .ant-card .ant-card-body {
        padding: 0px;
      }
    }
  }
  & > .scroll_content {
    width: 100%;
    display: table-cell;
    vertical-align: top;
    padding-left: 8px;
    :global {
      .ant-card .ant-card-body {
        padding: 0px;
      }
    }
  }
}

/**
* 左右或左中右，初始高度为满屏高度，超出高度撑开,所有模块以最高高度为基准
*/
.main {
  display: table;
  padding: 0px 8px;
  & > .left,
  .content,
  .right {
    display: table-cell;
    vertical-align: top;
    background: #fff;
    border: 1px solid #e8e8e8;
    :global {
      .ant-card-bordered {
        border: 0;
      }
    }
  }
  & > .left {
    min-width: 250px;
    position: relative;
    right: 8px;
  }
  & > .content {
    width: 100%;
  }
  & > .right {
    min-width: 250px;
    position: relative;
    left: 8px;
  }
}

.menu {
  .menu_search {
    padding: 16px 16px 0px 16px;
  }
  .menu_tree {
    margin: 0px 16px;
    .menu_tree_edit {
      padding-left: 8px;
      visibility: hidden;
      .icon {
        padding-right: 8px;
        cursor: pointer;
      }
      .icon:hover {
        color: #1890ff;
      }
    }
  }
  :global {
    .ant-tree li .ant-tree-node-content-wrapper:hover .ant-tree-title > span > span:nth-child(2) {
      visibility: visible;
    }
  }
}

.right_scroll_content {
  padding: 16px 0px;
}
.right_content {
  margin: 0px 16px;
}

.icon_hover:hover {
  color: #1890ff;
  cursor: pointer;
}

.menu_list {
  padding: 4px 8px;
  cursor: pointer;
  & > span:hover {
    color: #1890ff;
  }
}

.vertical_center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.cata_title {
  margin-bottom: 8px;
  font-weight: bold;
}
.cata_item {
  text-align: center;
  padding: 8px 0px;
}
.clickRowStyle {
  background-color: #e6f7ff;
}

.set_conditionright {
  position: relative;
  margin: 0 24px;
  :global {
    .antikon_result {
      padding: 0px;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
    }
  }
}

.label_left {
  :global(.ant-form-item-label) {
    text-align: left;
  }
}

.link_expand {
  width: 100%;
  height: 60px !important;
  padding: 16px 0px !important;
  position: relative;
  :global(.anticon-close) {
    position: absolute;
    right: 4px;
    top: 4px;
  }
}

.upload_list {
  :global(.ant-upload-list-item) {
    margin-top: 2px;
  }
}

.rule_form {
  // padding-left: 16px;
  .rule_title {
    color: @heading-color;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 8px;
    display: inline-block;
    padding-right: 8px;
  }
  .rule_tag {
    margin-left: 8px;
    :global {
      .ant-tag {
        margin-bottom: 8px;
      }
    }
  }
}

.modal {
  :global {
    .ant-modal-body {
      padding: 24px 0;
    }
  }
}
